<template>
  <div class="banner" :style="{ backgroundImage: `linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(${require('@/assets/images/banner.jpg')})` }">
    <div class="container">
      <div class="banner-content">
        <h1 class="banner-title">欢迎来到CMS系统</h1>
        <p class="banner-text">一个基于Vue和SpringBoot的内容管理系统</p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Banner'
}
</script>

<style scoped>
.banner {
 
  background-size: cover;
  color: #fff;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 30px;
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.banner-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.banner-text {
  font-size: 18px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .banner {
    padding: 60px 0;
  }
  
  .banner-title {
    font-size: 28px;
  }
  
  .banner-text {
    font-size: 16px;
  }
}
</style>